package com.tanhua.dubbo.api;

import com.tanhua.model.mongo.UserComment;
import org.bson.types.ObjectId;

import java.util.List;

/**
 * @author ck
 * @date 2021/11/18 20:02
 */
public interface UserCommentApi {

    //查询用户评论列表
    List<UserComment> find(Long vUserId,Integer page,Integer pagesize);

    //保存用户评论
    void save(UserComment userComment);

    UserComment likeOrUnlike(ObjectId id,String type);
}
